package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_goods_specification
 *
 * @author theme
 * @date 2020-06-23
 */
public class SysGoodsSpecification extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(name = "${comment}")
    private Long goodsId;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(name = "${comment}")
    private Long specificationId;

    /**
     * 商品参数名称
     */
    @ApiModelProperty(name = "商品参数名称")
    private String specification;

    /**
     * 商品参数值
     */
    @ApiModelProperty(name = "商品参数值")
    private String value;

    @ApiModelProperty(name = "积分")
    private Double integral;

    /**
     * $column.columnComment
     */
    private String delFlag;

    public Double getIntegral() {
        return integral;
    }

    public void setIntegral(Double integral) {
        this.integral = integral;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setSpecificationId(Long specificationId) {
        this.specificationId = specificationId;
    }

    public Long getSpecificationId() {
        return specificationId;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSpecification() {
        return specification;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("goodsId", getGoodsId())
                .append("specificationId", getSpecificationId())
                .append("specification", getSpecification())
                .append("value", getValue())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
